home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000245_news@newsmaster….columbia.edu _Sat Jul 4 01:45:10 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id BAA03356
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 4 Jul 1998 01:45:10 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id BAA02150
  7.     for kermit.misc@watsun; Sat, 4 Jul 1998 01:45:08 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: K95 - confirm closing of terminal window?
  12. Date: 4 Jul 1998 05:45:02 GMT
  13. Organization: Columbia University
  14. Lines: 33
  15. Message-ID: <6nkfgu$sfc$1@apakabar.cc.columbia.edu>
  16. References: <359c290f.0@kastagir.senet.com.au> <359D29B2.700C@value.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8942
  19.  
  20. In article <359D29B2.700C@value.net>, Mark Sapiro  <msapiro@value.net> wrote:
  21. : arthur.marsh@ties.itu.int wrote:
  22. : > 
  23. : > Hi, I was typing away writing a letter across a telnet connection
  24. : > made with K95's dialer and close on disconnect set, when the connection
  25. : > and my letter disappeared.
  26. : > 
  27. : > I'd like to be able to have K95 confirm a session close (even "press any
  28. : > key") so that in the case of unwanted disconnection, the scrollback buffer
  29. : > could be dumped to a file.
  30. : Pardon me if I don't understand, but it seems to me you already have
  31. : what you want.  Just don't select "exit on disconnect" in the dialer. 
  32. : Then when disconnect occurs, if you want to exit, type 'q' at the
  33. : prompt, and if not, type 'view' to return to the terminal screen and
  34. : capture text or whatever.
  35.  
  36. Another approach is the one I use, the "on_exit" macro.  Here is my
  37. "on_exit" definition.
  38.  
  39. define on_exit {
  40.  save terminal scrollback d:/kermit/save/terminal-\v(date)-\v(pid).txt
  41.  save command scrollback d:/kermit/save/command-\v(date)-\v(pid).txt
  42. }
  43.  
  44. This saves the command and terminal scrollback buffers whenever the
  45. K95 process terminates.
  46.  
  47.  
  48.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  49.                  The Kermit Project * Columbia University
  50.               612 West 115th St #716 * New York, NY * 10025
  51.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org